Skip to main content

All Questions

1vote
1answer
79views

how to send csv file to other server using wp_remote_post?

I am facing issue while sending csv file to api. when i use simple php curl request it works fine for me and it sends the file to server. here is my php code $curl = curl_init(); curl_setopt_array( $...
wp_dev's user avatar
1vote
0answers
977views

Sending post request with wp_remote_post not working correctly

I need to submit a form on the woo-commerce product page via restful API custom endpoint the problem is the wp_remote_post not working correctly with me or me mostly I did something wrong. The form ...
hesham shawky's user avatar
0votes
0answers
688views

wp_remote_post To external API multiple values with the same key

I am trying to create a WP plugin that calls an external API using HTTP POST. I am using wp_remote_post and my arguments look like this: $body = array( 'CustomerID' => '10', 'Items' => [...
swiss_blade's user avatar

close